package com.sm.tool.entity.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.annotation.security.DenyAll;
import javax.validation.constraints.DecimalMax;
import javax.validation.constraints.DecimalMin;
import javax.validation.constraints.NotNull;

@Data
@ApiModel
public class ActivityBingTicketRequest {

    @NotNull
    @ApiModelProperty(value ="优惠卷券id",example = "10")
    private Long ticketId;

    @NotNull
    @DecimalMin("1")
    @ApiModelProperty(value = "该卷张数,最少一张",example = "10")
    private int num;

}
